package day01;



public class Program02 {
    public static void main(String[] args) {

        int j;
        for (int i = 1; i<=36;i++){
            j=36-i;
            if ( j *2 + i * 4 == 94){
                System.out.println("鸡有:" + j + "只" + "\n" +"兔有:" + i + "只" );

            }
        }


    }
}
